package com.erp.erp_mask.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.erp.erp_mask.pojo.TSalesorders;
import com.erp.erp_mask.service.TSalesordersService;
import com.erp.erp_mask.mapper.TSalesordersMapper;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

import java.time.LocalDate;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

/**
* @author 张瑶
* @description 针对表【t_salesorders】的数据库操作Service实现
* @createDate 2024-05-23 09:20:59
*/
@Service
public class TSalesordersServiceImpl extends ServiceImpl<TSalesordersMapper, TSalesorders>
    implements TSalesordersService{

    @Resource
    private TSalesordersMapper mapper;
    @Override
    public List<TSalesorders> searchPage(String kename, String saleName, String channame, Integer orderId,String orderDate,String comeTime,String orderNumber) {
        return mapper.search(kename,saleName,channame,orderId,orderDate,comeTime,orderNumber);
    }

    @Override
    public List<TSalesorders> searchxx(String orderNumber) {
        return mapper.searchxx(orderNumber);
    }

    @Override
    public List<TSalesorders> tongOrders() {
        List<TSalesorders> list=mapper.tongOrders();
        return list;
    }




}




